<h3 class='adminTitle'><?php echo $this->type; ?>列表</h3>
<div class="adminContent">
<?php
echo $this->pageListTool;
if ($this->pages){
    echo "<table class = 'sheet'>";
    echo "<tr>";
    echo "<th>创作人</th>";
    echo "<th>标题</th>";
    echo "<th>类型</th>";
    echo "<th>发布时间</th>";
    echo "<th>更新时间</th>";
    echo "<th>管理</th>";
    echo "</tr>";
    echo $this->partialLoop('partials/row-pages.phtml', $this->pages);
    echo "</table>";
}
if (count($this->pages) > 1){
    echo $this->paginationControl($this->pages,'Sliding','partials/pagination-control.phtml');
}
echo "<a href = '/admin/page/create/type/{$this->type}'>添加{$this->type}</a>";
?>
</div>
